<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>文档事件源</title>
		<script src="js/jquery-1.11.1.js"></script>
		<script>
			//执行规则：DOM树加载完毕--理解：body上的所有元素加载完毕，在执行JQ
			$(function(){  
			
			$("button").click(function(){
				$("div").css({"width":"200px",
				            "height":"200px",
							"background-color":"#00ffff"
				});
			});
			});
		</script>
	</head>
	<body>
		<button>按钮</button>
		<div></div>
	</body>
</html>